home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / tbezier.6 < prev    next >
Encoding:
Text File  |  1996-07-16  |  1.7 KB  |  39 lines

  1. .TH TBEZIER
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. TBEZIER
  5.  
  6.  
  7.  
  8.  TrivarType TBEZIER( ListType CtlMesh )
  9.  
  10. Creates a Bezier trivariate using the provided control mesh. CtlMesh
  11. is a list of planes, each of which is a list of rows, each of which is a list
  12. of control points. All control points must be of type (E1-E5, P1-P5), or
  13. regular PointType defining the trivariate's control mesh. Surface's point
  14. type will be of a space which is the union of the spaces of all points.
  15.  
  16. Example:
  17.  
  18.    TV = TBEZIER( list( list( list( ctlpt( E3, 0.1, 0.1, 0.0 ),
  19.                                    ctlpt( E3, 0.2, 0.5, 1.1 ),
  20.                                    ctlpt( E3, 0.3, 0.1, 2.2 ) ),
  21.                              list( ctlpt( E3, 0.4, 1.3, 0.5 ),
  22.                                    ctlpt( E3, 0.5, 1.7, 1.7 ),
  23.                                    ctlpt( E3, 0.6, 1.3, 2.9 ) ),
  24.                              list( ctlpt( E3, 0.7, 2.4, 0.5 ),
  25.                                    ctlpt( E3, 0.8, 2.6, 1.4 ),
  26.                                    ctlpt( E3, 0.9, 2.8, 2.3 ) ) ),
  27.                        list( list( ctlpt( E3, 1.1, 0.1, 0.5 ),
  28.                                    ctlpt( E3, 1.3, 0.2, 1.7 ),
  29.                                    ctlpt( E3, 1.5, 0.3, 2.9 ) ),
  30.                              list( ctlpt( E3, 1.7, 1.2, 0.0 ),
  31.                                    ctlpt( E3, 1.9, 1.4, 1.2 ),
  32.                                    ctlpt( E3, 1.2, 1.6, 2.4 ) ),
  33.                              list( ctlpt( E3, 1.4, 2.3, 0.9 ),
  34.                                    ctlpt( E3, 1.6, 2.5, 1.7 ),
  35.                                    ctlpt( E3, 1.8, 2.7, 2.5 ) ) ) ) );
  36.  
  37. creats a trivariate Bezier which is linear in the first direction, and
  38. quadratic in the second and third.
  39.